﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Kugar.Core.WinForm
{
    /// <summary>
    ///     扩展的ComboBox项,可存放自定义对象信息
    /// </summary>
    public class ComboItemEx
    {
        public ComboItemEx(string text, object value)
        {
            Text = text;
            Value = value;
        }

        public string Text { private set; get; }
        public object Value { private set; get; }

        public override string ToString()
        {
            return Text;
        }
    }
}
